Arbitary Shape Window 
Remove the background area of the window.
bkColor [ColorBox]:
hWnd dup [Digital]: Window handle.
hWnd [Digital]: Window handle.
error out [Cluster]:
error in [Cluster]:
Combo Window 
Change shape of the specified window to a combination of rectangular, polygon, and elliptic shapes.
[Points] [Array]:
hWnd [Digital]: Window handle.
Combine [Array]:
Shape [Array]:
hWnd dup [Digital]: Window handle.
error out [Cluster]:
error in [Cluster]:
Donut Window 
Make the specified window in donut shape (with a real hole at the center). Coordinate respect to window, not the screen. (This VI won't work if the hole size --> 0.)
ret [Digital]:
hWnd [Digital]: Window handle.
width [Digital]:
hWnd dup [Digital]: Window handle.
RECT [Cluster]: Define the rectangular.
error out [Cluster]:
error in [Cluster]:
Polygon Window 
Change the window shape to polygon.
Input: 2D array (n x 2);
each row is one data point;
column 1: x coordinate, column 2: y coordinate.
[Points] [Array]:
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Window handle.
error out [Cluster]:
error in [Cluster]:
RoundRect Window 
Change the shape of the specified window to a rectangular with rounded corners.
Dimension [Cluster]:
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Window handle.
error out [Cluster]:
error in [Cluster]:
Window - O 
Make the specified window round.
bounding box [Cluster]: Define the rectangular.
Title bar [Enum]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error out [Cluster]:
error in [Cluster]:
Close Window 
Close the specified window.
hWnd dup [Digital]: Window handle.
hWnd [Digital]: Handle of the specified window.
error [Boolean]:
Create Window+ 
Create a window or a child window (in LabVIEW class by default).
hWnd [Digital]: Window handle of the newly created window.
Name [String]:
hWndParent [Digital]: Window handle of the parent widow, if any.
Position [Cluster]:
ExStyle [Digital]:
Style [Digital]:
Class [String]:
error [Boolean]:
CtlID [Digital]:
Create Window 
Create a window or a child window in LabVIEW style.
hWnd [Digital]: Window handle of the newly created window.
Name [String]:
hWndParent [Digital]: Window handle of the parent widow, if any.
Position & size [Cluster]:
ExStyle [Digital]:
Style [Digital]:
error [Boolean]:
Delete System MenuItem 
Delete the item on the system menu (popup when right click on the titlebar icon) of the specified window.
hWnd [Digital]: Handle of the specified window.
Position [Digital]: the zero-based relative position of the menu item.
hWnd dup [Digital]: Window handle.
error [Boolean]:
Submenu Pos [Digital]: the zero-based relative position of the submenu item.
Destroy Window 
Close specified window (not for VI).
hWnd [Digital]: Window handle.
error [Boolean]:
hWnd dup [Digital]: Window handle.
Disable System MenuItem 
Disable the Item on the menu of the specified window.
hWnd [Digital]: Handle of the specified window.
Position [Digital]: the zero-based relative position of the menu item.
hWnd dup [Digital]: Window handle.
error [Boolean]:
disable/enable [Boolean]: default: T/disable.
Submenu Pos [Digital]: the zero-based relative position of the submenu item.
Disable Window Ctrl Items 
Programmatically disable Window control items:
Resize;
Move;
Minimize;
Maximize;
Close.
hWnd [Digital]: Window handle.
error [Boolean]:
ctrl Items [Enum]:
hWnd dup [Digital]: Window handle.
Enable Move Window to Top 
Enable "Set Foreground Window" to bring window to top. This VI only works when LabVIEW is in foreground. Effects last until user logoff window.
error [Boolean]:
Enable Window 
Enable/disable the mouse and keyboard input for the specified window.
hWnd [Digital]: Window handle.
option [Enum]:
previously disabled? [Boolean]:
hWnd dup [Digital]: Window handle.
Enumerate Child 
This VI enumerates all child windows of the specified parent window recursively.
hWnd [Array]: Window handles.
count [Digital]: number of child windows found
window title [Array]:
hWnd parent [Digital]: Handle of the parent window.
error in [Cluster]:
error out [Cluster]:
hWnd parent [Digital]: Handle of the parent window.
Recursive (T) [Boolean]:
Enumerate Windows 
This VI enumerates all top-level windows.
hWnd [Array]: Window handles.
count [Digital]: Number of top-level windows found
window title [Array]:
Move Window with no Titlebar 
Let user move a window which has no titlebar.
hWnd [Digital]: Window handle.
ret [Digital]:
hWnd dup [Digital]: Window handle.
Move Window 
Move the window to the specified position with specified size.
hWnd [Digital]: The handle of the specified window.
error [Boolean]:
RECT [Cluster]: Define the rectangular.
hWnd dup [Digital]: Window handle.
No Update 
Disables or enables update on the specified window. Only one window can be locked at a time. To enable locked window, set hWnd to zero.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
Print Window 
Send the specified window to the default printer. No dialog window popup. To print the whole screen, set hWnd to zero.
By default, timeout is zero: don't wait for completion. To wait until completion, set the timeout (ms) to a non-zero value.
error out [Cluster]:
error in [Cluster]:
hWnd [Digital]: Handle of the specified window.
orientation [Enum]:
hWnd dup [Digital]: Handle of the specified window.
scale [Enum]:
timeout [Digital]:
Redraw Window 
Force the window to redraw.
error [Boolean]:
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Window handle.
SemiTransparent Window 
Make the specified window semi-transparent, so that everything hidden behind the window will reveal.
alpha = 0 --> transparent;
alpha = 255 --> opaque.
Request: Win98/Win2k
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
alpha [Digital]:
Show Window 
Show, Hide, Minimize, Maximize, or Restore the specified window programmatically.
Cmd [Enum]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
previous visible ? [Boolean]:
Update Window 
Refresh the specified window.
hWnd [Digital]: Window handle.
error [Boolean]:
hWnd dup [Digital]: Window handle.
Window at Cursor Position 
Get the handle of the window at cursor point regardless if that window captures the cursor or not.
hWnd [Digital]: Window handle.
Window Ctrl Items 
Programmatically enable/disable window control items:
maximize,
mininmize and/or
resize.
error [Boolean]:
hWnd [Digital]: Window handle.
ctrl Items [Cluster]:
hWnd dup [Digital]: Window handle.
Replace Titlebar Icon ![]()
Replace the titlebar icon of the specified window.
icon path [String]: Max. length 128 bytes.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
option [Enum]:
error out [Cluster]:
error in [Cluster]:
Show Titlebar 
Show / Hide titlebar programmatically.
hWnd [Digital]: Window handle
previous style [Digital]:
hWnd dup [Digital]: Window handle
show/hide [Enum]:
error out [Cluster]:
error in [Cluster]:
Get Local Time 
Retrieve the current local date and time.
time [Cluster]:
Get SystemTime 
Get the current system time (GMT) and date.
time [Cluster]:
Set Local Time 
Set the current local time and date.
error [Boolean]:
time [Cluster]:
Set SystemTime 
Sets the current system time (GMT) and date.
time [Cluster]:
error [Boolean]:
Device Monitor 
Monitor device (CD/DVD/USB) insert & remove events.
flag [Enum]:
error out [Cluster]:
error in [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd out [Digital]: Handle of the specified window.
Event Refnum [RefNum]:
Drive Info 
Get available system drives' name, type, free space and total space.
[Drive Info] [Array]:
error [Boolean]:
Enum Windows Groups 
Enumerates Windows user groups.
groups [Array]:
error in [Cluster]:
error out [Cluster]:
Enumerate Users 
Enumerates users in the specified group.
error out [Cluster]:
error in [Cluster]:
users [Array]:
group [String]:
Lock Screen 
Lock screen, protect your PC from unauthorized use. To unlock, user must login again.
Requirements: Win2000 or later.
error [Boolean]:
Memory Usage 
Retrieve the current state of both physical and virtual memory.
Memory Usage (%) [Digital]:
Memory Status [Cluster]: the current state of both physical and virtual memory.
Monitor Shutoff 
Shutoff the monitor.
option [Enum]:
Mouse Info 
This VI will determine if a mouse is installed.
mouse info [Cluster]:
MRU Documents 
Add an shortcut to the list of the Most Recently Used Documents (Documents on Start Menu);
or clear all shortcuts on the list.
Option [Enum]:
shortcut to [Path]:
Printer Status 
Retrieve printer status.
Status bit array index:
[0] = No Error;
[1] = On Line;
[2] = Out of Paper;
[3] = Ack;
[4] = Not Busy.
[Status bits] [Array]:
Status [Digital]:
Printer Port
Base Address [Digital]:
Printer Ready [Boolean]:
Set Volume 
Set PC sound volume.
Volume range: 0 ~ 0xFFFF
Option: Master volume, Wave, MIDI, Line, and CD Audio.
error out [Cluster]:
error in [Cluster]:
Volume [Digital]:
Option [Enum]:
System Power Status 
Get system power status for notebook computer.
AC Line Status
AC power status. This parameter can be one of the following values.
Value Meaning
0 Offline
1 Online
255 Unknown status
Battery Flag
Battery charge status. This parameter can be a combination of the following values.
Value Meaning
1 High
2 Low
4 Critical
8 Charging
128 No system battery
255 Unknown status
Remaining Battery Power
Percentage of full battery charge remaining. This member can be a
value in the range 0 to 100, or 255 if status is unknown. All other
values are reserved.
Power Status [Cluster]:
Wall paper 
Replace the wallpaper with the specified bmp.
bmp path [Path]:
error [Boolean]:
Key Down 
Simulate key press.
shift state [Enum]:
key [Ring]:
hWnd dup [Digital]: Window handle.
hWnd [Digital]: Window handle.
Key Up 
Simulate key release.
shift state [Enum]:
key [Ring]:
hWnd dup [Digital]: Wndow handle.
hWnd [Digital]: Window handle.
Send Click 
Send mouse click event to the specified window.
error in [Cluster]:
error out [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
button event [Enum]:
cursor position [Cluster]:
Send Keys 
Send key combination to the specified window.
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Window handle.
key [Ring]:
shift state [Enum]:
Send String 
Send a string to the specified window.
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Window handle.
String [String]:
error out [Cluster]:
error in [Cluster]:
Simulate Kbd [Boolean]:
Simulate Click 
Simulate a mouse click at current cursor position.
button event [Enum]:
Delete plus 
Delete the file(s) specified by path. If allow undo is selected (default), file will be moved into Recycle Bin. To delete multiple files, seperate files with a hex 0 (space is hex 20, don't use space).
path [Path]: Specify the file(s) to be deleted. Seperate files with hex 0.
allow undo [Boolean]:
error [Boolean]:
err code [Digital]:
Empty Recycle Bin 
This VI will empty recycle bin.
error [Boolean]:
File Download 
Download the file at URL.
URL [String]: Specify the URL for the file to be downloaded.
Find Executable 
This VI retrieves the name and path of the executable (.EXE) associated with the specified file.
path [Path]:
exe [Path]:
error out [Cluster]:
error in [Cluster]:
Get Shell Icon ![]()
Retrieve the shell icon of a file, a directory, or a drive root, and return LabVIEW image data cluster. The data can be displayed in a LabVIEW picture control; saved to a image file; or used as customized symbol for LabVIEW TreeView control.
Path [Path]:
image data [Cluster]:
Path dup [Path]:
error in [Cluster]:
error out [Cluster]:
option [Cluster]:
index [Digital]: Index of the icon image within the system image list.
Hide SysCtrls 
Show/hide Taskbar, Start button, and Desktop icons.
Cmd [Enum]:
Sys Ctrls [Enum]: System control
hCtl [Digital]: Handle of the specified control.
error out [Cluster]:
error in [Cluster]:
Module Path 
This VI retrieves the full path and filename for the specified module.
Require: Win9x/Me
Module [String]:
Module path [String]:
found [Boolean]:
Shortcut Info 
Retrieve shortcut properties programmatically.
Path [Path]:
Shortcut info [Cluster]:
error out [Cluster]:
error in [Cluster]:
Shortcut 
Create a shortcut for the specified file in the specified directory.
shortcut [Cluster]:
error out [Cluster]:
error in [Cluster]:
Taskbar 
Set window taskbar behavior (auto hide/always on top).
Taskbar options (U32): 0 - Invalid; 1 - Auto Hide; 2 - Always on top; 3 - Both; default: 1.
Require: WinXP.
taskbar options [Enum]:
error out [Cluster]:
error in [Cluster]:
Set Active Window 
Activates the specified window, and return the handle of the previous active window.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error in [Cluster]:
error out [Cluster]:
hWnd prev [Digital]: Handle of previous active window.
Set all Virtual Keys 
Set all virtual keys states. This vi can be used to simulate a key stroke.
Virtual Key Hex Decimal
/* mouse button */
Left button 01 01
Right button 02 02
/* arrow key */
Left 25 37
Up 26 38
Right 27 39
Down 28 40
/* keyboard */
0 30 48
......
9 39 57
A 41 65
......
Z 5A 90
/* Num Pad */
0 60 96
......
9 69 105
* 6A 106
+ 6B 107
- 6D 109
. 6E 110
/ 6F 111
/* function key */
F1 70 112
......
F12 7B 123
Alt 12 18
Backspace 08 08
CapLock 14 20
Control 11 17
Delete 2E 46
End 23 35
Escape 1B 27
Home 24 36
Insert 2D 45
Num Lock 90 144
Scroll Lock 91 145
Page up 21 33
Page down 22 34
Pause 13 19
Print 2A 42
Print screen 2C 44
Return 0D 13
Shift 10 16
Space 20 32
Tab 09 09
; : BA 186
= + BB 187
, < BC 188
- _ BD 189
. > BE 190
/ ? BF 191
` ~ C0 192
[ { DB 219
\ | DC 220
] } DD 221
/* Win95 key */
LWin 5B 91
RWin 5C 92
Apps 5D 93
kbState [Array]:
error [Boolean]:
Set Current Dir 
Set the current directory to the specified path, so that one can use relative path.
path [Path]:
error [Boolean]:
Set Foreground Window 
Make the specified window to be the foreground window.
error [Boolean]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
Set Global HotKey 
Set Global Hot Key for the specified window.
A Global Hot Key is a set of key combination. It's a system global. When pressed, the specified window will be activated.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
sKey [Enum]:
VK code [Ring]:
return [Enum]:
Set Parent plus 
Set a window to be a child window of another. Auto handling the child window position shift.
To set a child window back to top level window, simply set "hWnd parent" to 0.
hWnd child [Digital]: Handle of the child window.
hWnd parent [Digital]: Handle of the parent window.
hWnd previous parent [Digital]:
hWnd parent dup [Digital]:
error in [Cluster]:
error out [Cluster]:
Set PC Name 
Set a new NetBIOS name for the computer. The name is stored in the registry. Will take effect after reboot.
Computer Name [String]:
error [Boolean]:
Set Window Style 
Set style/extended style for the specified window.
Style [Digital]:
hWnd [Digital]: Window handle
previous style [Digital]:
hWnd dup [Digital]: Window handle
option [Enum]:
Create Scrollbar 
Create a scroll bar on the specified window.
hBar [Digital]:
hWnd [Digital]: Window handle
position & size [Cluster]: For Horizonal Scroll Bar:
x: 0
y: 285
width: 466
height: 14
For Vertical Scroll Bar:
x: 466
y: 40
width: 14
height: 246
scrollbar [Enum]:
error [Boolean]:
hWnd dup [Digital]: Window handle
Hide Scrollbar 
DX left: delta x to be hidden on the left edge;
DY top: delta y to be hidden on the top edge;
DX right: delta x to be hidden on the right edge;
DY bottom: delta y to be hidden on the bottom edge.
error [Boolean]:
DY bottom [Digital]: DY bottom: delta y to be hidden on the bottom edge.
hWnd [Digital]: Handle of the window.
DX left [Digital]: DX left: delta x to be hidden on the left edge.
DY top [Digital]: DY top: delta y to be hidden on the top edge.
width [Digital]:
height [Digital]:
DX right [Digital]: DX right: delta x to be hidden on the right edge.
hWnd dup [Digital]: Handle of the window.
Empty Rect 
Is it an empty rectangular?
empty? [Boolean]:
RECT [Cluster]: Define the rectangular.
Get Client Rect 
Get Window client area (front panel substract title bar and frame).
hWnd [Digital]: Window handle.
error [Boolean]:
hWnd dup [Digital]: Window handle
RECT [Cluster]: Define the rectangular.
Get Window Bounds 
Retrieve the window boundary.
hWnd [Digital]: Window handle.
error [Boolean]:
RECT [Cluster]: Define the rectangular.
hWnd dup [Digital]: Window handle.
Invalidate Rect 
Adds the specified rectangle to the specified window's update region which will be redrawn.
hWnd [Digital]: Window handle.
error [Boolean]:
hWnd dup [Digital]: Window handle
RECT [Cluster]: Define the rectangular.
Enumerate Printers 
Printers [Array]:
error in [Cluster]:
error out [Cluster]:
Add SubMenu 
Add a submenu to the menu item identified by id.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
submenu [Array]:
id [Digital]:
submenuID [Digital]:
submenuID out [Digital]:
Append MenuItem 
Appends a new item to the end of the specified menu.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
item id [Digital]:
item [String]:
Create PopupMenu 
Create a popup menu.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
menu [Array]:
Delete MenuItem 
Deletes an item or a submenu from the specified menu, and frees all memory allocated for the submenu.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
position [Digital]:
Destroy Menu 
Destroys the specified menu and all its submenus, and frees any memory that the menu occupies.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
Enable MenuItem 
Enables, disables, or grays the specified menu item.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
item id [Digital]:
flag [Enum]:
Insert MenuItem 
Inserts a new menu item into the specified menu, moving other items down.
item id: specifies the menu item id before which the new menu item is to be inserted.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
new item id [Digital]:
item [String]:
item id [Digital]:
Release Handles 
Release memory allocated for handles.
error out [Cluster]:
error in [Cluster]:
handles [Array]:
Set MenuItem Image 
Add an image to the menu item identified by its id. When the menu is destroyed, the memory allocated for the image is not release (the handle, hBitmap, can be reused); it is up to the application to release it.
Support bmp, gif, and jpg. Auto resize.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
Path [Path]:
item id [Digital]:
hBitmap [Digital]:
Show Menu 
Displays the popup menu at cursor position, and return user selected item.
error out [Cluster]:
error in [Cluster]:
hMenu [Digital]:
hMenu dup [Digital]:
selected item [Cluster]:
Disconnect 
Disconnect modem from network.
error out [Cluster]:
error in [Cluster]:
Get Connection Error Message 
Get RAS (Remote Access Service) connection error message.
err code [Digital]:
error message [String]:
err code dup [Digital]:
Post Message Array 
Post an array message to the specified window and then returns without waiting for the thread to process the message.
hWnd [Digital]: Window handle.
Msg [Digital]:
lParam [Array]:
wParam [Digital]:
error [Boolean]:
hWnd dup [Digital]: Copy of the window handle.
Post Message Str 
Post a message string to the specified window and then returns without waiting for the thread to process the message.
hWnd [Digital]: Window handle.
Msg [Digital]:
lParam [String]:
wParam [Digital]:
error [Boolean]:
hWnd dup [Digital]: Copy of the window handle.
Post Message 
Post a message to the specified window and then returns without waiting for the thread to process the message.
hWnd [Digital]: Handle of the specified window.
Msg [Digital]: Message
wParam [Digital]:
lParam [Digital]:
error [Boolean]:
hWnd dup [Digital]: Copy of the window handle.
Send Message Array 
Send an array message to the specified window, won't return until the message is processed.
hWnd [Digital]: Window handle.
Msg [Digital]:
lParam [Array]:
wParam [Digital]:
hWnd dup [Digital]: Copy of the window handle.
lParam return [Array]:
Send Message Str 
Sends string message to the specified window , won't return until the message is processed.
hWnd [Digital]: Window handle.
Msg [Digital]:
wParam [Digital]:
lParam [String]:
ret [Digital]:
return String [String]:
hWnd dup [Digital]: Copy of the window handle.
Send Message 
Sends the specified message to a window or windows, won't return until the message is processed.
hWnd [Digital]: Window handle.
Msg [Digital]:
wParam [Digital]:
lParam [Digital]:
return [Digital]:
hWnd dup [Digital]: Copy of the window handle.
Get Active Window 
Retrieves the window title, title length and handle to the active window associated with the thread that calls the function.
hWnd [Digital]: Window handle
title [String]: Window title
length [Digital]: title length
Get all Virtual Keys 
Get all virtual keys states.
Virtual Key Hex Decimal
/* mouse button */
Left button 01 01
Right button 02 02
/* arrow key */
Left 25 37
Up 26 38
Right 27 39
Down 28 40
/* keyboard */
0 30 48
......
9 39 57
A 41 65
......
Z 5A 90
/* Num Pad */
0 60 96
......
9 69 105
* 6A 106
+ 6B 107
- 6D 109
. 6E 110
/ 6F 111
/* function key */
F1 70 112
......
F12 7B 123
Alt 12 18
Backspace 08 08
CapLock 14 20
Control 11 17
Delete 2E 46
End 23 35
Escape 1B 27
Home 24 36
Insert 2D 45
Num Lock 90 144
Scroll Lock 91 145
Page up 21 33
Page down 22 34
Pause 13 19
Print 2A 42
Print screen 2C 44
Return 0D 13
Shift 10 16
Space 20 32
Tab 09 09
; : BA 186
= + BB 187
, < BC 188
- _ BD 189
. > BE 190
/ ? BF 191
` ~ C0 192
[ { DB 219
\ | DC 220
] } DD 221
/* Win95 key */
LWin 5B 91
RWin 5C 92
Apps 5D 93
kbState [Array]:
error [Boolean]:
Get Ancestor 
Get the handle of the ancestor window.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
hWnd root [Digital]: Handle of the specified window.
Get Class Name 
Get the class name of the specified window.
className [String]:
hWnd [Digital]: Window handle
error [Boolean]:
hWnd dup [Digital]: Window handle
Get Current Dir 
Get the current working directory.
path [String]: Max. length 255 bytes.
Get Desktop Window 
Get the window handle for the Desktop window (the "background").
hWnd [Digital]: Window handle
Get Foreground Window 
Retrieves the handle of the foreground window.
hWnd [Digital]: Window handle
Foreground Window [Cluster]:
error [Boolean]:
Get Global HotKey 
Get Global Hot Key assigned to the specified window.
A Global Hot Key is a set of key combination. It's a system global. When pressed, the specified window will be activated.
VK code [Ring]:
sKey [Enum]:
hWnd dup [Digital]: Window handle
hWnd [Digital]: Handle of the specified window.
Get Parent 
Get the handle of the specified window's parent window.
input: handle of the specified window;
output: handle of the parent window.
hWnd [Digital]: Window handle.
hWnd parent [Digital]: Window handle of the parent window, if any.
hWnd dup [Digital]: Window handle.
Get PC Name 
Get computer name (show in Properties of Network Neighborhood).
length [Digital]:
Name [String]: Max. length: 32 bytes.
Get Related Window 
Get related window (first, last, next, previous, owner or child window).
hWnd related [Digital]: handle of the related window
hWnd [Digital]: Window handle.
relation [Enum]:
hWnd dup [Digital]: Window handle.
Get Short Path 
Get DOS format, 8.3, file name.
longPath [String]:
shortPath [String]:
error [Boolean]:
length [Digital]:
Get Temp Dir 
Get the window temperary directory.
tempPath [String]:
error [Boolean]:
length [Digital]:
Get Temp File Name 
Creates a temp file name, or a temp file. The filename is the concatenation of specified path, prefix string, and a hexadecimal integer, and the .TMP extension.
If the integer is not zero, a filename will be created but the file does not created. If the integer is zero, a temp file with unique filename will be created in the specified directory.
path [String]:
prefix [String]:
# [Digital]:
fileName [String]:
error [Boolean]:
Get User Name 
Get window user name.
Name [String]:
error [Boolean]:
Get VK State 
Get virtual key state for the specified key.
Virtual Key Hex Decimal
/* mouse button */
Left button 01 01
Right button 02 02
/* arrow key */
Left 25 37
Up 26 38
Right 27 39
Down 28 40
/* keyboard */
0 30 48
......
9 39 57
A 41 65
......
Z 5A 90
/* Num Pad */
0 60 96
......
9 69 105
* 6A 106
+ 6B 107
- 6D 109
. 6E 110
/ 6F 111
/* function key */
F1 70 112
......
F12 7B 123
Alt 12 18
Backspace 08 08
CapLock 14 20
Control 11 17
Delete 2E 46
End 23 35
Escape 1B 27
Home 24 36
Insert 2D 45
Num Lock 90 144
Scroll Lock 91 145
Page up 21 33
Page down 22 34
Pause 13 19
Print 2A 42
Print screen 2C 44
Return 0D 13
Shift 10 16
Space 20 32
Tab 09 09
; : BA 186
= + BB 187
, < BC 188
- _ BD 189
. > BE 190
/ ? BF 191
` ~ C0 192
[ { DB 219
\ | DC 220
] } DD 221
/* Win95 key */
LWin 5B 91
RWin 5C 92
Apps 5D 93
vk [Ring]:
keyState [Digital]:
Get Window Status 
Retrieve the current status of the specified window.
Window Status [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error in [Cluster]:
error out [Cluster]:
active [Boolean]:
Get Window Style 
Set style/extended style for the specified window.
hWnd [Digital]: Window handle
previous style [Digital]:
hWnd dup [Digital]: Window handle
option [Enum]:
Get Window Text 
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
text [String]:
error in [Cluster]:
error out [Cluster]:
Find Child Window 
Find a child window of the specified parent by its classs name and title. Case sensitive.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
className [String]:
winName [String]:
error [Boolean]:
hChild [Digital]: Handle of the child window.
Find Window by Class 
Find a window by its classs name and title. Case sensitive.
className [String]:
windowName [String]:
hWnd [Digital]: Window handle
error [Boolean]:
Find Window+ 
Retrieves a handle to a window whose class name and window name match the specified strings.
window name [String]:
hWnd [Digital]: Window handle
error [Boolean]:
class name [String]:
hWndParent [Digital]: Handle to the parent window whose child windows are to be searched.
hWndChildAfter [Digital]: Handle to a child window. The search begins with the next child window in the Z order. The child window must be a direct child window of hwndParent, not just a descendant window.
Find Window 
Get window handle for a given name.
Input: Window name.
Output: Window handle.
window name [String]:
hWnd [Digital]: Window handle
error out [Cluster]:
error in [Cluster]:
File Exist 
This VI will determine if the specified file exists or not.
path [Path]: Specify the path. For example:
c:\autoexec.bat;
n:\share\lvapp.ini;
or
\\CompanyHost\lvapp.ini;
exist? [Boolean]:
path dup [Path]:
File Manager 
Copies, moves, renames, or deletes the specified files. Support wild cards (such as *.*). Support shortcuts (*.lnk).
error out [Cluster]:
error in [Cluster]:
source path [Path]:
target path [Path]:
operation [Enum]:
File Property 
Create a file property dialog box.
path [String]:
error [Boolean]:
no error dialog box [Boolean]:
File Time 
Get/set file creation, modification, and access time. Make sure the file exists before call this VI.
path [String]:
creation time [Cluster]:
last access time [Cluster]:
last write time [Cluster]:
option [Enum]:
creation time [Cluster]:
last access time [Cluster]:
last write time [Cluster]:
Find Extension 
Find the extension from the input path.
path [Path]:
extension [String]:
Open File Dialog 
Display a dialog box from which you can select files to open. Support multiple selections.
Use semicolons to separate multiple file types, for example: *.vi;*.ctl;*.llb
Start path [Path]:
file type [String]:
Selected files [Array]:
path [Path]:
error out [Cluster]:
error in [Cluster]:
Replace Extension 
Replace the extension of the input path with the new extension.
path in [Path]:
new extension [String]:
path out [Path]:
Strip Extension 
Strip extension from the input path.
path in [Path]:
path out [Path]:
Get Error Message 
Get Win32API error message.
errorMessage [String]:
error [Digital]:
error [Digital]:
Get Error Msg 
Get Win32API error message.
errorMessage [String]:
error out [Cluster]:
error in [Cluster]:
Get Last Error 
Get last Win32API error.
error [Digital]:
Set Last Error 
Sets the last-error code for the calling thread.
Error [Digital]: Win32 API error code.
BMP with Transparent Color 
Draw a BMP picture on any window.
Support transparent color.
bmp path [String]: Path and name of the bitmap file. Max. char. 255
err code [Digital]:
position [Cluster]:
transparent color [ColorBox]: Define transparent color.
hWnd [Digital]: Window handle.
error [Boolean]:
hWnd dup [Digital]: Window handle.
Draw Icon ![]()
Draw icon/cursor on the specified window.
hWnd [Digital]: Window handle
hIcon [Digital]: Icon handle
error [Boolean]:
position [Cluster]: Client coordinate.
hWnd dup [Digital]: Window handle
Draw Text 
Draw text on the specified window in an angle.
error [Boolean]:
hWnd [Digital]: Window handle
Position [Cluster]:
hWnd dup [Digital]: Window handle
{text} [Cluster]:
color [ColorBox]:
err code [Digital]: Win32 error code
Load Image 
Loads an image ( an icon, cursor, or bitmap), and return with the handle of the image.
hImage [Digital]: handle of the image
imagePath [Path]:
imageType [Enum]:
desiredWidth [Digital]: 0: default width
desiredHeight [Digital]: 0: default height
error [Boolean]:
SemiTransparent String 
Display a string with semi-transparent background on the specified window.
String [String]:
position & size [Cluster]:
err code [Digital]: window error code.
error [Boolean]:
hWnd dup [Digital]: Window handle
hWnd [Digital]: Window handle
txt color [ColorBox]:
bk color [ColorBox]:
Vertical Text 
Draw vertical text on the specified window at run time.
hWnd: Handle of the window.
Text: Text to be drawn. Limited to one line.
hTxt: Handle of the text window.
error [Boolean]:
err code [Digital]: window error code
{text} [Cluster]:
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
hTxt [Digital]:
Enumerate Display Mode 
Enumerate all supported display modes (width, height, color depth, and frequency).
Display Modes [Array]:
error in [Cluster]:
error out [Cluster]:
Get Display Mode 
Get current screen resolusions, color depth and frequency.
error out [Cluster]:
error in [Cluster]:
current settings [Cluster]:
Restore Display Mode 
Restore the screen resolusions, color and frequency to the registry values dynamically.
RegistrySettings [Cluster]:
error in [Cluster]:
error out [Cluster]:
Set Display Mode 
Change screen resolusions, color and frequency dynamically.
registry flag [Enum]: specify if registry should be updated.
error out [Cluster]:
error in [Cluster]:
Settings [Cluster]:
previous settings [Cluster]:
Choose Color 
This VI will create a standard Choose Color dialog box to let user pick a color.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
Color [ColorBox]: User selected color.
error [Boolean]:
Choose Font 
This VI will create a standard Choose Font dialog box to let user pick a font.
{Font} [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
Message Box 
Create a dialog window.
hWndo [Digital]: handle of the owner window.
Message [String]:
MessageBox Title [String]:
Selection [Enum]:
error [Boolean]:
hWndo dup [Digital]:
default button [Enum]:
Style flag [Enum]:
Icon flag [Enum]:
ClipCursor 
Confine the cursor in the specified rectangular.
error [Boolean]:
RECT [Cluster]: Define the rectangular.
Get ClipCursor 
Get cursor limit boundary.
Rect [Cluster]: Define the rectangular.
error [Boolean]:
Get Cursor Position 
Get cursor position in screen coordinate.
Position [Cluster]:
Get Cursor 
Get the handle of the current cursor.
hCursor [Digital]: cursor handle.
error out [Cluster]:
error in [Cluster]:
Reset Cursor 
Reset cursor style.
hWnd [Digital]: Window handle.
hCur [Digital]:
hCursor [Digital]: cursor handle.
hWnd dup [Digital]: copy of the window handle.
Set Cursor Appearance to File Icon ![]()
Set the cursor appearance to the icon of the specified file (any type). The hot spot is at the center of the icon.
Path [Path]: path of the file while icon will be used to create cursor.
error in [Cluster]:
error out [Cluster]:
hWnd [Digital]: Handle of the specified window.
hCursor previous [Digital]: handle of the previous cursor.
hWnd dup [Digital]: Copy of the window handle.
flag [Enum]:
Set Cursor Position 
Move cursor to specified position.
Position [Cluster]:
error [Boolean]:
Set Cursor Style by File Name 
Set cursor style by using cursor file name.
Cursor [String]:
hWnd [Digital]: Window handle.
hCursor previous [Digital]:
hWnd dup [Digital]: Copy of the window handle.
SetCursor 
Set cursor style by cursor name.
previous hCursor [Digital]: Previous cursor handle.
Cursor [Enum]:
hWnd [Digital]: Window handle.
hWnd dup [Digital]: Copy of the window handle.
Show Cursor 
Cursor visible when display counter >= 0;
Cursor invisible when display counter < 0.
"Show": counter = counter + 1;
"Hide": counter = counter - 1.
Display counter default = 0.
display counter [Digital]: Cursor visible when display counter >= 0;
Cursor invisible when display counter < 0.
Cursor [Enum]: "Show": counter = counter + 1;
"Hide": counter = counter - 1.
Client to LV 
Convert the client coordiante to the LabVIEW coordinate.
reference [VIRefNum]:
Position in LV coordinate [Cluster]:
reference dup [VIRefNum]:
Position in Client coordinate [Cluster]:
Client to Screen 
Convert client coordinate to screen coordinate.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
error [Boolean]:
Position in Client coordinate [Cluster]:
Position in Screen coordinate [Cluster]:
ClientRect to ScreenRect 
Convert a rect in client coordinate to screen coordinate.
rect in [Cluster]: Define the rectangular.
rect out [Cluster]: Define the rectangular.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
LV to Client - Copy
LV to Client 
Convert the LabVIEW coordiante to the client coordinate.
reference [VIRefNum]:
Position in LV coordinate [Cluster]:
reference dup [VIRefNum]:
Position in Client coordinate [Cluster]:
Offset Rect 
Convert from (left, top, right, bottom) to (0, 0, width, height).
RECT out [Cluster]: Define the rectangular.
RECT [Cluster]: Define the rectangular.
Screen to Client 
Convert screen coordinate to client coordinate.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Widow handle
error [Boolean]:
Position in Screen coordinate [Cluster]:
Position in Client coordinate [Cluster]:
ScreenRect to ClientRect 
Convert a rect in screen coordinate to client coordinate.
rect in [Cluster]: Define the rectangular.
rect out [Cluster]: Define the rectangular.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
Size to Rect 
Convert from (x0, y0, dx, dy) to (x0, y0, x1, y1).
rect [Cluster]: Define the rectangular.
Position & size [Cluster]:
Listbox 
Creates a listbox, at run time, as a child window of the specified window. And display the content of the initial path.
Double click any file on the listbox will open that file with the associated executable. Double click on [directory] or [-drive-] to browse the whole file system.
Drop files onto the listbox will copy those files to the directory which content is displayed in the listbox.
Files dragged from the listbox, can be dropped to any listbox created by this VI, or to any VIs using G Toolbox Drag&Drop VIs.
hWnd dup [Digital]: Window handle
hWnd [Digital]: Handle of the specified window.
path [String]: specify the initial path, which content will be listed in the listbox. If not a valid path, the current directory will be used.
id [Digital]: specify the identify number for the listbox. Default: 1
RECT [Cluster]: Define the rectangular.
hLbx [Digital]: handle of the listbox.
flag [Enum]:
error out [Cluster]:
Resize Config 
This VI enable/disable resizing the specified window from corner, left, top, right or bottom.
error in [Cluster]:
error out [Cluster]:
hWnd [Digital]: Handle of the specified window.
option [Enum]:
hWnd dup [Digital]: Handle of the specified window.
Config [Cluster]:
Set Child 
Set child/parent relation. Confine child move/sizing within parent panel bounds. Set child maximum to parent panel bounds instead of parent client.
hWnd child [Digital]: Handle of the child window.
hWnd parent [Digital]: Handle of the parent window.
hWnd dup [Digital]: Handle of the child window.
parent panel bounds [Cluster]: Define the rectangular.
error out [Cluster]:
error in [Cluster]:
flag [Enum]:
Virtual Titlebar 
This VI will create an elliptic area on the specified window, which acts like titlebar - you can click and hold it to move the window.
hWnd dup [Digital]: Window handle
hWnd [Digital]: Window handle
Flag [Enum]:
rect [Cluster]: Define the rectangular.
error out [Cluster]:
Multiline tooltips 
Toggle between multiline tooltip and single line tooltip by setting the line width.
When line width > 0, it's multiline; when line width = -1, it's single line. Use \r\n to force tooltip change line.
hTip [Digital]:
hTip dup [Digital]:
line width [Digital]: line width > 0: Multiline, use \r\n to force tooltip change line;
line width =-1: Single line.
tooltip color 
Set tooltips text color/background color to user specified color.
hTip [Digital]:
color [ColorBox]:
hTip dup [Digital]:
option [Enum]:
tooltips 
Create tooltips for the specified window and/or add a new tip.
Maximum tip string size is 258. String longer than 258 will be trucated.
hWnd [Digital]: Specify the parent window of the tooltip window. If hTip is not zero, hWnd will be ignored.
tip [String]: The description of the control. For a multiline tooltip, use /r/n to force change line before reach line width.
Maximum length is 258.
hWnd dup [Digital]:
RECT [Cluster]: Define the rectangular.
hTip dup [Digital]:
tip# [Digital]: Specify the sequential number of the tip.
hTip [Digital]: Specify the handle of the tooltip window. If 0, a new tooltip window will be created.
error out [Cluster]:
error in [Cluster]:
Get TimeZone 
Retrieve the current Time Zone settings.
TimeZone Info [Cluster]:
ret [Enum]:
error [Boolean]:
Get Valid TimeZones 
Retrieve all valid Time Zones in the registry.
Valid TimeZones [Array]:
error in [Cluster]:
error out [Cluster]:
Set TimeZone 
Set Time Zone to the specified one.
timeZone [String]:
error [Boolean]:
err code [Digital]:
display [String]:
SysTray Icon ![]()
Add an icon into system tray (on the right hand side of the taskbar).
flag [Enum]:
tipText [String]:
hWnd dup [Digital]: copy of window handle.
Occur [RefNum]: Occurance: it will be set when window being restored.
Occur dup [RefNum]:
hWnd [Digital]: Handle of the specified window.
hIcon [Digital]: handle of the icon to be added to the system tray.
if zero, default value (titlebar icon) will be used.
error out [Cluster]:
SysTray II 
Replace window minimize feature with SysTray feature, so that when "minimize", window goes to the System Tray instead of the Taskbar.
hWnd [Digital]: Handle of the specified window.
flag [Enum]:
tipText [String]:
hIcon [Digital]: handle of the icon to be added to the system tray.
if zero, default value (titlebar icon) will be used.
hWnd dup [Digital]: Handle of the specified window.
error out [Cluster]:
SysTray III 
Add an icon into system tray (on the right hand side of the taskbar).
flag [Enum]:
tipText [String]:
hWnd dup [Digital]: copy of window handle.
Occur [RefNum]: Occurance: it will be set when right mouse button clicked on the system tray icon.
Occur dup [RefNum]:
hWnd [Digital]: Handle of the specified window.
hIcon [Digital]: handle of the icon to be added to the system tray.
if zero, default value (titlebar icon) will be used.
error out [Cluster]:
Tray Menu 
Create a menu for SysTray Icon VI. Support submenu.
menu [Array]:
error out [Cluster]:
error in [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: copy of window handle.
Create Statusbar 
Create a Statusbar on the specified window. Support auto resize. (Destroy Statusbar must be called before the window is closed.)
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
style [Digital]:
text [String]:
hStBar [Digital]: Statusbar handle
error [Boolean]:
Destroy Statusbar 
Destroy a Statusbar. This VI must be called to destroy the Statusbar before its parent window can be closed.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
Set Background Color 
Set Statusbar background color.
hBar [Digital]: Handle of the Statusbar
hBar dup [Digital]: Handle of the Statusbar
error [Boolean]:
background color [ColorBox]:
Set Icon ![]()
Draw an icon on the Statusbar.
part index [Digital]:
icon path [Path]:
error [Boolean]:
hBar [Digital]: Handle of the Statusbar
hBar dup [Digital]: Handle of the Statusbar
Set Parts 
Divide the Statusbar into multiple parts.
parts coordinates [Array]:
hBar [Digital]: Handle of the Statusbar
hBar dup [Digital]: Handle of the Statusbar
error [Boolean]:
Set Text 
Draw text on the Statusbar.
text style [Ring]:
hBar [Digital]: Handle of the Statusbar
hBar dup [Digital]: Handle of the Statusbar
text [String]:
part index [Digital]:
Get All Objects Size 
Get all LabVIEW object size.
[RECT] [Array]:
VI path [String]:
Panel Bounds [Cluster]: Define the rectangular.
hWnd [Digital]: Handle of the specified window.
Reset Skin 
Reset the skin. Must be called for every call to "Set Skin".
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Copy of the specified window handle.
error out [Cluster]:
error in [Cluster]:
Set Skin 
Set the skin (background) for the specified window. Support dynamic skin change: simply drag & drop an image file (bmp, jpg, wmf, emf, etc.) onto the window. Must disable the scrollbar on the specified window.
[RECT] [Array]: Objects sizes in client coordinates.
Panel Bounds [Cluster]: Define the rectangular.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
hBitmap [Digital]: Handle of the bitmap - define the skin.
error out [Cluster]:
Scrolling Text on Titlebar 
Draw a scrolling string on the titlebar of the specified window.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Window handle.
String [String]: Text to be displayed on the titlebar.
delay (ms) [Digital]:
flag [Enum]:
error out [Cluster]:
error in [Cluster]:
Scrolling Text 
Draw a scrolling string on the specified window.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
String [String]:
RECT [Cluster]: Define the rectangular.
delay (ms) [Digital]: Handle of the specified window.
flag [Enum]:
error out [Cluster]:
BMP 
Draw a BMP picture on the specified window.
windowName [String]:
bmpPath [Path]:
position [Cluster]: Client coordinate.
error [Digital]:
hWnd [Digital]: Window handle for the specified window.
hWndBMP [Digital]: Window handle for the bitmap window (child window).
Draw BMP 
This VI draw a Bitmap image onto the specified window.
hWnd [Digital]: Handle of the specified window.
Position [Cluster]: in client coordinate.
hWnd dup [Digital]: Handle of the specified window.
error [Boolean]:
err code [Digital]:
hBitmap [Digital]: handle of the bitmap
hPic [Digital]: Handle of the picture window.
Load BMP 
This VI loads bitmap resource from the specified DLL.
DLL [Path]: Path of the dll.
resource id [Digital]:
hBitmap [Digital]: Handle of the bitmap
err code [Digital]:
error [Boolean]:
Picture to Data 
This VI retrieves data from the curve in the picture ctrl.
picture [Picture]: The resulting picture.
step [Digital]:
picture Size [Cluster]:
max [Cluster]:
min [Cluster]:
data [Array]:
new picture [Picture]: The resulting picture.
Pie Chart 
Display a pie chart on the specified window. Support auto-redraw.
err code [Digital]:
hWnd dup [Digital]: Window handle
error [Boolean]:
hPie [Digital]:
{Chart size} [Cluster]:
[Pie] [Array]:
hWnd [Digital]: Window handle
label option [Enum]:
Polar 
Display a polar coordinate plot on the specified window.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
error [Boolean]:
err code [Digital]:
hPolar dup [Digital]:
{polar} [Cluster]:
[data] [Array]:
hPolar [Digital]: if hPolar = 0, a new plot will be created to display the data.
{style} [Cluster]:
Save Pic 
Save the specified G Toolbox Picture into a file. Support bmp, jpg, and png graphic format.
hPic [Digital]: Handle of the picture window.
hPic [Digital]: Handle of the picture window.
path [Path]:
error [Boolean]:
err code [Digital]:
type [Enum]:
Show Image 
Show image at the specified position. Support bmp, jpg, wmf, emf, ico, etc. Support child window.
hWnd [Digital]: Handle of the parent window. Default: 0, no parent.
Position [Cluster]:
Path [Path]: Support bmp, jpg, wmf, emf, ico, etc.
hWnd image [Digital]: Handle of the image window.
err code [Digital]: Win32 error.
hWnd dup [Digital]: Handle of the parent window.
image size [Cluster]:
hWnd image [Digital]: Handle of the existing image window. Default: 0, create new image window.
IPC Msg Event Register 
Register a message (string) event. A LV user event will be triggered if the message is received. Compatible with Event Structure.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
flag [Enum]:
error out [Cluster]:
error in [Cluster]:
Event Refnum [RefNum]:
IPC Send Msg String 
Send msg string to the target window, which belongs to another application.
hWndt [Digital]: Handle of the target window.
hWnd dup [Digital]: Handle of the specified window.
error in [Cluster]:
error out [Cluster]:
msg string [String]:
hWnds [Digital]: Handle of the source window.
char sent [Digital]: Number of characters sent.
Add HotKey 
Add a Hot Key to the specified window.
A Hot Key is a set of unique key combinations. When pressed, the specified window will be notified by an occurance, regardless which window is active as long as the thread are same.
hWnd [Digital]: Window handle
Key ID [Digital]:
sKey [Ring]:
error [Boolean]:
hWnd dup [Digital]: Window handle
VK code [Ring]:
hKeyEvent [RefNum]:
Init HotKey 
Hot Key initial.
A Hot Key is a set of unique key combinations. When pressed, the specified window will be notified by an occurance, regardless which window is active as long as the thread are same.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Window handle
err code [Digital]:
error [Boolean]:
Remove HotKey 
Remove a Hot Key.
A Hot Key is a set of unique key combinations. When pressed, the specified window will be notified by an occurance, regardless which window is active as long as the thread are same.
hWnd [Digital]: Window handle
Key ID [Digital]:
error [Boolean]:
hWnd dup [Digital]: Window handle
Stop HotKey 
Hot Key terminator.
A Hot Key is a set of unique key combinations. When pressed, the specified window will be notified by an occurance, regardless which window is active as long as the thread are same.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Window handle
err code [Digital]:
error [Boolean]:
End Process 
This VI terminates the specified process.
error out [Cluster]:
error in [Cluster]:
process id [Digital]: Handle of the specified window.
process id dup [Digital]: Handle of the specified window.
Enumerate Thread Windows 
This VI enumerates all nonchild windows belong to the specified thread.
thread id [Digital]: Handle of the specified window.
window title [Array]:
count [Digital]: number of child windows found
hWnd [Array]: Window handles.
error in [Cluster]:
error out [Cluster]:
Enumerate Thread 
This VI enumerates all threads belong to the specified process.
error out [Cluster]:
error in [Cluster]:
process id [Digital]: Handle of the specified window.
thread id [Array]:
process id dup [Digital]: Handle of the specified window.
Execute 
Launch an application specified in the command line.
Note: Put the long path in quotes.
Command Line [String]:
minimize ? [Boolean]:
working directory [Path]:
error out [Cluster]:
error in [Cluster]:
process id [Digital]:
main thread id [Digital]:
hWnd [Digital]: Handle of the main window.
timedelay [Digital]: time for window to show up.
Exit Event 
Catch the exit event of the specified process.
error out [Cluster]:
error in [Cluster]:
process id [Digital]:
process id [Digital]:
Event Reg Refnum [RefNum]:
thread id [Digital]: Handle of the specified window.
Get Process 
This VI retrieves the id of the process and the id of the thread that created the specified window.
hWnd [Digital]:
ProcessID [Digital]:
ThreadID [Digital]:
hWnd dup [Digital]:
error out [Cluster]:
error in [Cluster]:
Is Application Window Hung 
An application is considered to be not responding, or "hung", if it has not contacted OS for 5 sec.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
hung ? [Boolean]:
error out [Cluster]:
error in [Cluster]:
Capture All Mouse Event 
Set/reset capture all mouse event for the specified window, even if the cursor is outside the boundary of the window.
hWnd [Digital]: handle of the specified window.
hWnd dup [Digital]: handle of the specified window.
flag [Enum]: set/reset capture all mouse event for the specified window.
Mouse & Keyborad Events 
Track mouse / keyboard events: mouse hover, mouse leave, mouse move, click & key press.
error [Boolean]:
hWnd dup [Digital]: Window handle
occurs [Cluster]:
hWnd [Digital]: Window handle
flag [Enum]:
err code [Digital]: Win32 error code
Redraw Event 
Track the window redraw event. Set the user event whenever redraw occur.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
error out [Cluster]:
error in [Cluster]:
Event Reg Refnum [RefNum]:
flag [Enum]:
Schedule Event 
Generate an event at scheduled time. Provides multiple timers for the event structure.
error out [Cluster]:
error in [Cluster]:
event data [String]:
event [TypedRefNum]:
event dup [TypedRefNum]:
time [AbsTime]: time delay before generate the event.
SchId [Digital]:
SchId in [Digital]:
schedule [Enum]:
Schedule Events 
Generate events at scheduled time. Provides multiple timers for the event structure.
error out [Cluster]:
error in [Cluster]:
event data [String]:
dt (ms) [Digital]: time delay before generate the event.
event [TypedRefNum]:
event dup [TypedRefNum]:
t [AbsTime]:
SchId [Digital]:
schedule [Enum]:
SchId in [Digital]:
SysTray Event with Popup Menu 
Add an icon into system tray. Popup a menu when the icon is right clicked. Trigger a LV user event when a menu item is selected.
flag [Enum]:
tipText [String]:
hWnd dup [Digital]: copy of window handle.
hWnd [Digital]: Handle of the specified window.
hIcon [Digital]: handle of the icon to be added to the system tray.
if zero, default value (titlebar icon) will be used.
error out [Cluster]:
error in [Cluster]:
Event Refnum [RefNum]:
menu [Array]:
SysTray Event 
Add an icon into system tray. Trigger a LV user event when this icon is right clicked.
flag [Enum]:
tipText [String]:
hWnd dup [Digital]: copy of window handle.
hWnd [Digital]: Handle of the specified window.
hIcon [Digital]: handle of the icon to be added to the system tray.
if zero, default value (titlebar icon) will be used.
error out [Cluster]:
error in [Cluster]:
Event Refnum [RefNum]:
Window Events II 
Tracking window messages. Trigger a LV user event if the window message is in the msg filter array.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
flag [Enum]:
error out [Cluster]:
msg filter [Array]:
error in [Cluster]:
Event Refnum [RefNum]:
Window Events 
Tracking window messages. Trigger a LV user event if the window message is between msg filter.first & msg filter.last (>= first & < last).
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
flag [Enum]:
error out [Cluster]:
Event Reg Refnum [RefNum]:
msg filter [Cluster]:
error in [Cluster]:
Window Sizing Event 
Track window sizing event. Set the user event whenever window size changing.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
flag [Enum]:
error in [Cluster]:
error out [Cluster]:
Event Reg Refnum [RefNum]:
DragObject Stop 
Stopt Drag Objects support.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error out [Cluster]:
error in [Cluster]:
DragObject 
Start Drag LabVIEW Objects support at run time, and get drag start position.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
Occurrence [RefNum]:
Drag init Point [Cluster]:
option [Enum]:
error out [Cluster]:
error in [Cluster]:
Disable DragDrop 
Disable/Enable the Drag & Drop feature of the specified window.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
option [Enum]:
error out [Cluster]:
error in [Cluster]:
DragDrop Event 
Track the Drag & Drop event for the specified window. Trigger a LV user event if any file dropped on the window.
hWnd [Digital]: Window handle
hWnd dup [Digital]: Window handle
error out [Cluster]:
error in [Cluster]:
flag [Enum]:
Event Refnum [RefNum]:
Drop File 
Drop a file on other window applications.
Drop a VI on the specified diagram progarmmatically at cursor position; drop a control/indicator on the specified front panel; or drop an image on front panel/diagram.
File existence is checked before a drop is made.
hWnd [Digital]: Handle of the specified window.
Path [Path]: the file to be dropped.
hWnd dup [Digital]: Handle of the specified window.
error out [Cluster]:
error in [Cluster]:
Drop Files 
Drop files on other window applications.
Drop VIs on the specified diagram progarmmatically at cursor position; drop controls/indicators on the specified front panel; or drop images on front panel/diagram.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error out [Cluster]:
error in [Cluster]:
paths [Array]:
On Object 
Cursor over the object ?
on ? [Boolean]:
Width [Digital]:
Top [Digital]:
Height [Digital]:
Left [Digital]:
Position [Cluster]:
Copy BMP 
This VI will copy the bitmap currently on G Toolbox picture window (the one create by: BMP, Pie Chart, or Polar) onto clipboard.
hPic [Digital]: Handle of the G Toolbox picture window.
hPic dup [Digital]:
error [Boolean]:
Copy to Clipborad 
This VI will copy the specified rectanglar onto the clipboard.
RECT [Cluster]: Define the rectangular.
cursor [Ring]:
error [Boolean]:
Empty Clipboard 
This VI will remove everything on the clipboard.
error [Boolean]:
Load BMP to Clipboard 
This VI loads a bitmap file to Clipboard.
path [Path]:
path dup [Path]:
error [Boolean]:
Paste BMP 
This VI will paste the bitmap currently on clipboard onto G Toolbox picture window (the one create by: BMP, Pie Chart, or Polar)
hPic [Digital]: Handle of the G Toolbox picture window.
hPic dup [Digital]:
error [Boolean]:
SnapView to EMF 
Capture the specified window, LabVIEW or non-LabVIEW window, covered or not covered window, inside or outside the boundary of the screen, and save it to an EMF file (an EMF wrapped bitmap file).
Path [Path]:
error out [Cluster]:
error in [Cluster]:
Path dup [Path]:
hWnd [Digital]: Handle of the specified window.
SnapView to Image Cluster 
Capture the specified rectangular area anywhere on screen, inside or outside LabVIEW panel, and return with the image data cluster to be displayed in the Picture control.
To capture the whole screen, set hWnd & RECT to zero (defaults), or leave them unwired.
To capture a specifiec window (works for non-LabVIEW window too), set hWnd to the handle of the window, and RECT to zero.
rect to capture [Cluster]: Define the rectangular.
cursor [Enum]:
error out [Cluster]:
error in [Cluster]:
image data [Cluster]:
hWnd [Digital]: Handle of the specified window.
SnapView to Jpeg 
Capture the specified rectangular area anywhere on screen, inside or outside LabVIEW panel, and save it to a jpg file.
To capture the whole screen, set hWnd & RECT to zero (defaults), or leave them unwired.
To capture a specifiec window (works for non-LabVIEW window too), set hWnd to the handle of the window, and RECT to zero.
RECT [Cluster]: Define the rectangular.
cursor [Enum]:
quality (80) [Digital]:
path [Path]: path to JPEG file.
path dup [Path]:
error out [Cluster]:
hWnd [Digital]: Handle of the specified window.
error in [Cluster]:
SnapView to Png 
Capture the specified rectangular area anywhere on screen, inside or outside LabVIEW panel, and save it to a png file.
To capture the whole screen, set hWnd & RECT to zero (defaults), or leave them unwired.
To capture a specifiec window (works for non-LabVIEW window too), set hWnd to the handle of the window, and RECT to zero.
RECT [Cluster]: Define the rectangular.
cursor [Enum]:
compression (default) [Digital]:
path [Path]: path to PNG file.
path dup [Path]:
error out [Cluster]:
error in [Cluster]:
hWnd [Digital]: Handle of the specified window.
SnapView XP 
Capture the specified window (even if the window is outside screen boundary, or covered by other windows), and save to the specified path. To capture the whole screen, set hWnd to zero.
By default, timeout is zero: don't wait for completion. To wait until completion, set the timeout (ms) to a non-zero value.
Support bmp, jpg, gif, png, and tiff file format.
Request WinXP.
path [Path]: Path to save captured image.
error out [Cluster]:
error in [Cluster]:
path dup [Path]:
hWnd [Digital]: Handle of the specified window.
timeout [Digital]:
SnapView 
Capture the specified rectangular area anywhere on screen, inside or outside LabVIEW panel, and save it to a bitmap file.
To capture the whole screen, set hWnd & RECT to zero (defaults), or leave them unwired.
To capture a specifiec window (works for non-LabVIEW window too), set hWnd to the handle of the window, and RECT to zero.
RECT [Cluster]: Define the rectangular.
cursor [Ring]:
path [Path]:
error out [Cluster]:
error in [Cluster]:
path dup [Path]:
hWnd [Digital]: Handle of the specified window.
Button Style 
Set button style at runtime.
hButn [Digital]: Button handle
Style [Enum]:
hImage [Digital]: Image handle
hButn dup [Digital]:
error in [Cluster]:
error out [Cluster]:
ExStyle [Enum]:
Create Button 
Create a button at runtime on the specified window.
error in [Cluster]:
error out [Cluster]:
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
buttonID [Digital]:
Position & size [Cluster]:
buttonLabel [String]:
buttonHandle [Digital]:
Register Button Event 
Register/unregister a button. An user event willl be triggered when pressed.
hWnd [Digital]: Handle of the specified window.
hWnd dup [Digital]: Handle of the specified window.
error in [Cluster]:
error out [Cluster]:
flag [Enum]:
Event Refnum [RefNum]:
AVI Info 
Retrieves information from the avi file.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
avi info [Cluster]:
AVI2BMP Event 
Convert AVI to BMP files.
To get all frames from the AVI file, set frame -> # of frames to -1.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
frame [Cluster]:
Event [TypedRefNum]:
AVI2BMP 
Convert AVI to BMP files.
To get all frames from the AVI file, set frame -> # of frames to -1.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
total frames [Digital]:
frame [Cluster]:
AVI2IMG Event 
Convert AVI to BMP files.
To get all frames from the AVI file, set frame -> # of frames to -1.
Require: WinXP.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
frame [Cluster]:
Event [TypedRefNum]:
image type [Enum]:
AVI2IMG XP 
Convert AVI to still image files. Support bmp, gif, jpg, png, and tiff.
To get all frames from the AVI file, set frame -> # of frames to -1.
Require: WinXP.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
total frames [Digital]:
frame [Cluster]:
image type [Enum]:
AVI2Pixmap 
Convert the specified frame to a pixmap data.
Path [Path]:
Path dup [Path]:
error out [Cluster]:
error in [Cluster]:
total frames [Digital]:
image [Cluster]:
image data [Cluster]:
frame# [Digital]:
ChooseCodec 
Enumerate all installed video compression codecs in a popup window for user to pick one.
FourCC [Digital]:
selected codec [String]:
error out [Cluster]:
error in [Cluster]:
IMG2AVI Event 
Create an AVI file from a list of image files. Assume all images have the same size, color depth and color table. Support bmp, gif, and jpg file formats. Trigger the user event when done. FourCC is the four character code for a video compression codec. If 0, uncompressed avi will be created. Use ChooseCodec to pick the favorite codec.
image files [Array]:
AVI Path [Path]:
error out [Cluster]:
error in [Cluster]:
AVI Path dup [Path]:
frame/sec [Digital]:
AVI event [TypedRefNum]:
FourCC [Digital]:
IMG2AVI XP Event 
Create an AVI file from a list of image files. Assume all images have the same size, color depth and color table. Support bmp, gif, jpg, png and tif file formats. FourCC is the four character code for a video compression codec. If 0, uncompressed avi will be created. Use ChooseCodec to pick the favorite codec.
Require: Window XP.
image files [Array]:
AVI Path [Path]:
error out [Cluster]:
error in [Cluster]:
AVI Path dup [Path]:
frame/sec [Digital]:
AVI Event [TypedRefNum]:
FourCC [Digital]:
IMG2AVI XP 
Create an AVI file from a list of image files. Assume all images have the same size, color depth and color table. Support bmp, gif, jpg, png and tif file formats. FourCC is the four character code for a video compression codec. If 0, uncompressed avi will be created. Use ChooseCodec to pick the favorite codec.
Require: Window XP.
image files [Array]:
AVI Path [Path]:
error out [Cluster]:
error in [Cluster]:
AVI Path dup [Path]:
frame/sec [Digital]:
FourCC [Digital]:
IMG2AVI 
Create an AVI file from a list of image files. Assume all images have the same size, color depth and color table. Support bmp, gif, and jpg file formats. FourCC is the four character code for a video compression codec. If 0, uncompressed avi will be created. Use ChooseCodec to pick the favorite codec.
image files [Array]:
AVI Path [Path]:
error out [Cluster]:
error in [Cluster]:
AVI Path dup [Path]:
frame/sec [Digital]:
FourCC [Digital]: